﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using RaytracerLib.Layers;
using RaytracerLib.Layers.OverlayCorrectors;
using YAXLib;
using RaytracerLib.MathLib;
using TomanuExtensions;
using System.IO;
using System.Diagnostics;

namespace RaytracerLib.Resamplers
{
    public class PixelWeight : IComparable<PixelWeight>
    {
        public double Weight;
        public int Pos;

        public override string ToString()
        {
            return String.Format("pos: {0}; weight: {1}", Pos, Weight);
        }

        public int CompareTo(PixelWeight a_other)
        {
            return Pos - a_other.Pos;
        }
    }
}
